package com.dys.ai.entity;

import com.dys.ai.enumeration.BookingClass;
import com.dys.ai.enumeration.BookingStatus;

import java.time.LocalDate;

/**
 * 航班信息
 * @author 疾风
 */
public class Booking {

    private String bookingNumber;

    private LocalDate date;

    private LocalDate bookingTo;

    private Customer customer;

    private String from;

    private String to;

    private BookingStatus bookingStatus;

    private BookingClass bookingClass;

    public Booking(String bookingNumber, LocalDate date, Customer customer, BookingStatus bookingStatus, String from,
                   String to, BookingClass bookingClass) {
        this.bookingNumber = bookingNumber;
        this.date = date;
        this.customer = customer;
        this.bookingStatus = bookingStatus;
        this.from = from;
        this.to = to;
        this.bookingClass = bookingClass;
    }

    public String getBookingNumber() {
        return bookingNumber;
    }

    public void setBookingNumber(String bookingNumber) {
        this.bookingNumber = bookingNumber;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public LocalDate getBookingTo() {
        return bookingTo;
    }

    public void setBookingTo(LocalDate bookingTo) {
        this.bookingTo = bookingTo;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public BookingStatus getBookingStatus() {
        return bookingStatus;
    }

    public void setBookingStatus(BookingStatus bookingStatus) {
        this.bookingStatus = bookingStatus;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public BookingClass getBookingClass() {
        return bookingClass;
    }

    public void setBookingClass(BookingClass bookingClass) {
        this.bookingClass = bookingClass;
    }
}
